<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>我的待办 todo List</title>
    <style>
        .item-ok{
            text-decoration: line-through;
            color: #ccc
        }
    </style>
</head>
<body>
    <h1>任务待办</h1>
    <input type="text" id="textContent" placeholder="请输入你的待办">
    <button id="btnAdd">添加待办事项</button>
    <ul id="todoList">
        <li>我是一条待办</li>
        <li>这么巧我也是</li>
    </ul>
    <script src="todo.js"></script>
</body>
</html>